package main

import (
	"github.com/gogf/gf/v2/frame/g"
)

func main() {
	s := g.Server()
	s.SetIndexFolder(false)
	s.SetServerRoot("./public/upload/")
	s.AddStaticPath("/upload", "./public/upload/")
	s.Run()
}
